home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / program / prtrep51.zip / REPSRC.ZIP / REPDEM04.DFM / REPDEM04.txt
Text File  |  1996-06-24  |  5KB  |  217 lines

  1. object dem04form: Tdem04form
  2.   Left = 126
  3.   Top = 289
  4.   Width = 600
  5.   Height = 440
  6.   Caption = 'Report Demo 4'
  7.   Font.Color = clWindowText
  8.   Font.Height = -18
  9.   Font.Name = 'System'
  10.   Font.Style = []
  11.   PixelsPerInch = 120
  12.   Position = poScreenCenter
  13.   TextHeight = 20
  14.   object Panel1: TPanel
  15.     Left = 0
  16.     Top = 0
  17.     Width = 592
  18.     Height = 89
  19.     Align = alTop
  20.     TabOrder = 0
  21.     object Label1: TLabel
  22.       Left = 20
  23.       Top = 12
  24.       Width = 370
  25.       Height = 19
  26.       Caption = 'This is a Demo of the TPrintGridReport Component'
  27.       Color = clBtnFace
  28.       Font.Color = clMaroon
  29.       Font.Height = -17
  30.       Font.Name = 'Arial'
  31.       Font.Style = []
  32.       ParentColor = False
  33.       ParentFont = False
  34.     end
  35.     object Label2: TLabel
  36.       Left = 20
  37.       Top = 36
  38.       Width = 260
  39.       Height = 19
  40.       Caption = 'and SubTotals and Calcutated fields'
  41.       Color = clBtnFace
  42.       Font.Color = clMaroon
  43.       Font.Height = -17
  44.       Font.Name = 'Arial'
  45.       Font.Style = []
  46.       ParentColor = False
  47.       ParentFont = False
  48.     end
  49.     object Label3: TLabel
  50.       Left = 20
  51.       Top = 60
  52.       Width = 415
  53.       Height = 19
  54.       Caption = 'Note: The printer is forced to print Landscape Orientation'
  55.       Color = clBtnFace
  56.       Font.Color = clMaroon
  57.       Font.Height = -17
  58.       Font.Name = 'Arial'
  59.       Font.Style = []
  60.       ParentColor = False
  61.       ParentFont = False
  62.     end
  63.     object Preview: TBitBtn
  64.       Left = 472
  65.       Top = 12
  66.       Width = 109
  67.       Height = 29
  68.       Caption = 'Pre&View'
  69.       TabOrder = 0
  70.       OnClick = PreviewClick
  71.     end
  72.     object Exit: TBitBtn
  73.       Left = 492
  74.       Top = 48
  75.       Width = 89
  76.       Height = 33
  77.       Caption = '&Exit'
  78.       ModalResult = 1
  79.       TabOrder = 1
  80.     end
  81.   end
  82.   object Panel2: TPanel
  83.     Left = 0
  84.     Top = 89
  85.     Width = 592
  86.     Height = 324
  87.     Align = alClient
  88.     BevelInner = bvLowered
  89.     BorderWidth = 4
  90.     TabOrder = 1
  91.     object DBGrid1: TDBGrid
  92.       Left = 6
  93.       Top = 6
  94.       Width = 580
  95.       Height = 312
  96.       Align = alClient
  97.       DataSource = DataSource1
  98.       Font.Color = clBlack
  99.       Font.Height = -17
  100.       Font.Name = 'Arial Narrow'
  101.       Font.Style = []
  102.       ParentFont = False
  103.       TabOrder = 0
  104.       TitleFont.Color = clBlue
  105.       TitleFont.Height = -15
  106.       TitleFont.Name = 'Arial Narrow'
  107.       TitleFont.Style = [fsBold]
  108.     end
  109.   end
  110.   object Query1: TQuery
  111.     Active = True
  112.     DatabaseName = 'DBDEMOS'
  113.     SQL.Strings = (
  114.       'Select'
  115.       '  parts."PartNo",'
  116.       '  parts."VendorNo",'
  117.       '  parts."Description",'
  118.       '  parts."OnHand",'
  119.       '  parts."OnOrder",'
  120.       '  parts."Cost",'
  121.       '  parts."ListPrice"'
  122.       'From "parts.db"'
  123.       'As parts'
  124.       'order by'
  125.       'VendorNo')
  126.     Left = 324
  127.     Top = 65532
  128.     object Query1PartNo: TFloatField
  129.       DisplayWidth = 6
  130.       FieldName = 'PartNo'
  131.     end
  132.     object Query1VendorNo: TFloatField
  133.       FieldName = 'VendorNo'
  134.     end
  135.     object Query1Description: TStringField
  136.       DisplayWidth = 23
  137.       FieldName = 'Description'
  138.       Size = 30
  139.     end
  140.     object Query1OnHand: TFloatField
  141.       DisplayWidth = 8
  142.       FieldName = 'OnHand'
  143.     end
  144.     object Query1OnOrder: TFloatField
  145.       DisplayWidth = 8
  146.       FieldName = 'OnOrder'
  147.     end
  148.     object Query1Cost: TCurrencyField
  149.       DisplayWidth = 6
  150.       FieldName = 'Cost'
  151.       Currency = True
  152.     end
  153.     object Query1ListPrice: TCurrencyField
  154.       DisplayWidth = 9
  155.       FieldName = 'ListPrice'
  156.       Currency = True
  157.     end
  158.   end
  159.   object DataSource1: TDataSource
  160.     DataSet = Query1
  161.     Left = 292
  162.     Top = 65532
  163.   end
  164.   object PrintGridReport1: TPrintGridReport
  165.     ViewButtonVisible = False
  166.     OutputTo = poViewer
  167.     Orientation = Default
  168.     ViewBkColor = 11234567
  169.     Units = poInches
  170.     ViewHeading = 'Reportit Viewer'
  171.     FooterFont.Color = clWindowText
  172.     FooterFont.Height = 12
  173.     FooterFont.Name = 'Arial'
  174.     FooterFont.Style = []
  175.     HeaderFont.Color = clBlack
  176.     HeaderFont.Height = -17
  177.     HeaderFont.Name = 'Arial'
  178.     HeaderFont.Style = []
  179.     OnPrintFooter = PrintGridReport1PrintFooter
  180.     ZoomPercentage = 100.000000000000000000
  181.     HeaderTop = 0.500000000000000000
  182.     HeaderStringCenter = 'Page Header'
  183.     HeaderEnabled = True
  184.     HeaderOutlined = True
  185.     HeaderFilled = False
  186.     FooterTop = 24.630000000000000000
  187.     FooterString = 'Page Footer'
  188.     FooterEnabled = True
  189.     FooterOutlined = True
  190.     FooterFilled = True
  191.     DisableControls = True
  192.     BorderLeft = 0.250000000000000000
  193.     BorderRight = 0.250000000000000000
  194.     DateTimeStampEnabled = True
  195.     PageNumberEnabled = True
  196.     GridHeadingRow = 1.500000000000000000
  197.     GridHeadingCol = 0.250000000000000000
  198.     GridHeadingEnabled = True
  199.     GridHeadingOutlined = True
  200.     GridHeadingFilled = False
  201.     GridLines = True
  202.     LineSpacing = 1.500000000000000000
  203.     Grid = DBGrid1
  204.     GridMinWidth = True
  205.     GridCentered = True
  206.     GridPrintTotal = True
  207.     PrintSubTotals = False
  208.     FrameStyleLeft = frNone
  209.     FrameStyleTop = frDoubleThickThin
  210.     FrameStyleRight = frNone
  211.     FrameStyleBottom = frSingleThin
  212.     ReportStyle = rsClassic
  213.     Left = 324
  214.     Top = 36
  215.   end
  216. end
  217.